package com.jk.dmpayprovider.dao;

import com.jk.dmcommon.djhEntity.DjhWatchPersonEntity;
import com.jk.dmcommon.entity.CouponEntity;
import com.jk.dmcommon.entity.GoodsEntity;
import com.jk.dmcommon.entity.ShopEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 文件名称:OrderDao
 *
 * @Description //TODO $
 * @Date $ $
 * 作者 郭英杰
 * Copyright (c) 2021, yuxy123@gmail.com All Rights Reserved.</pre>
 */
@Repository
public interface OrderDao {

    //查询优惠券的优惠额度和优惠券名称
    CouponEntity couponQuery(Integer ticketid);

    /*配送方式*/
    ShopEntity distribution(Integer leaveId);
    /*查询观演人*/
    DjhWatchPersonEntity queryPerson(Integer personId);
    //查询优惠券
    CouponEntity queryCoupon(Integer couponId);
    /*查询观演人*/
    DjhWatchPersonEntity queryPerson2(Integer userid);
}
